import { createAction, props } from "@ngrx/store"

// 添加任务
export const addTodo = createAction("addTodo", props<{ title: string }>())

// 删除任务
export const deleteTodo = createAction("deleteTodo", props<{ id: string }>())

// 完成任务
export const todoFinish = createAction("todoFinish", props<{ id: string }>())
